//
//  ICMRequestManager.h
//  ICrEAM
//
//  Created by rainimute on 16/11/1.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^callBack)(id data,NSString *failText);

@interface ICMRequestManager : NSObject

- (void)startPostRequestWithURL:(NSString*)url parameters:(NSDictionary *)parameters inHudView:(UIView *)hudView andResultBlock:(callBack)callBack;

- (void)startGetRequestWithURL:(NSString*)url parameters:(NSDictionary *)parameters inHudView:(UIView *)hudView andResultBlock:(callBack)callBack;

- (void)startPostImageWithURL:(NSString*)url parameters:(NSDictionary *)parameters images:(NSDictionary *)images inHudView:(UIView *)hudView andResultBlock:(callBack)callBack;

- (void)startPostMusicWithURL:(NSString *)url parameters:(NSDictionary *)parameters musicUrl:(NSURL *)musicUrl inHudView:(UIView *)hudView andResultBlock:(callBack)callBack;

@end
